
import java.io.File;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Zuzana Krejcova
 */
public class zkouska
{
    public static void main(String args[]) throws Exception {
        File file = new File("C:\\Users\\Zuzka\\Documents\\gramatika.txt");
        Gramatika g = GramatikaIO.load(file);
        System.out.println(g.toString());
//        g = NaLL.vytkni(g);
//        g = (Gramatika) EliminaceEpsilon.transformuj(g)[0];
        System.out.println(g.toString());
        System.out.println(NaLL.stringFirst(g));
        System.out.println(NaLL.vypocetFollow(g));
    }
}
